/* 初始化项目通用样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body,
#app {
  font-family: 'Microsoft YaHei', '微软雅黑', 'Helvetica Neue', Helvetica, 'PingFang SC',
    'Hiragino Sans GB', Arial, sans-serif;
  font-size: 14px;
  background-color: #f2f2f2;
  color: #333333;
  min-width: 320px;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
a {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}

/* 外边距 */
.m_s {
  margin: 10px;
}
.m_m {
  margin: 20px;
}
.m_l {
  margin: 30px;
}

/* 左外边距 */
.ml_s {
  margin-left: 10px;
}
.ml_m {
  margin-left: 20px;
}
.ml_l {
  margin-left: 30px;
}

/* 右外边距 */
.mr_s {
  margin-right: 10px;
}
.mr_m {
  margin-right: 20px;
}
.mr_l {
  margin-right: 30px;
}

/* 上外边距 */
.mt_s {
  margin-top: 10px;
}
.mt_m {
  margin-top: 20px;
}
.mt_l {
  margin-top: 30px;
}

/* 下外边距 */
.mb_s {
  margin-bottom: 10px;
}
.mb_m {
  margin-bottom: 20px;
}
.mb_l {
  margin-bottom: 30px;
}

/* 内边距 */
.p_s {
  padding: 10px;
}
.p_m {
  padding: 20px;
}
.p_l {
  padding: 30px;
}

/* 左内边距 */
.pl_s {
  padding-left: 10px;
}
.pl_m {
  padding-left: 20px;
}
.pl_l {
  padding-left: 30px;
}

/* 右内边距 */
.pr_s {
  padding-right: 10px;
}
.pr_m {
  padding-right: 20px;
}
.pr_l {
  padding-right: 30px;
}

/* 上内边距 */
.pt_s {
  padding-top: 10px;
}
.pt_m {
  padding-top: 20px;
}
.pt_l {
  padding-top: 30px;
}

/* 下内边距 */
.pb_s {
  padding-bottom: 10px;
}
.pb_m {
  padding-bottom: 20px;
}
.pb_l {
  padding-bottom: 30px;
}

/* 容器通用样式 start */
.wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.page-wapper {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.container {
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  transition: all 0.5s linear;
}
/* 容器通用样式 end */

/* 文字通用样式 start */
.text_color_333 {
  color: #333 !important;
}
.text_color_666 {
  color: #666 !important;
}
.text_color_999 {
  color: #999 !important;
}
.text_color_green {
  color: #1fb079 !important;
}
.text_color_orange {
  color: #fc714c !important;
}
.text_color_reg {
  color: #d90106 !important;
}
.text_align_center {
  text-align: center !important;
}
.text_nowrap {
  white-space: nowrap !important;
}
/* 文字通用样式 end */

/* flex 布局 start */
.flex {
  display: flex !important;
}
.flex_1 {
  flex: 1 !important;
}
.inline_flex {
  display: inline-flex !important;
}
.flex_direction_column {
  flex-direction: column !important;
}
.flex_align_center {
  align-items: center !important;
}
.flex_align_end {
  align-items: flex-end !important;
}
.flex_justify_between {
  justify-content: space-between !important;
}
.flex_justify_around {
  justify-content: space-around !important;
}
.flex_justify_center {
  justify-content: center !important;
}
.flex_center {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}
/* flex 布局 end */

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 8px;
  background-color: #f5f5f5;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 4px;
  /* -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);   */
  background-color: #cccccc;
}

/* 单行文本省略，多余显示... */
.text_overflow {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.mask {
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4) !important;
}
